from flask import Flask

from day14_flask.person import Person

app = Flask(__name__)

@app.route("/index")
def index():
    p = Person("宋江",32)
    return p.__dict__


if __name__ == '__main__':
    app.run()